package com.movitech.mobile.cz.base.sys.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.modules.controller.RestReturnResult;
import com.movitech.mobile.cz.base.modules.vo.PageRequestVO;
import com.movitech.mobile.cz.base.sys.bizvo.BannerRequestVO;
import com.movitech.mobile.cz.base.sys.entity.SBanner;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * banner维护 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-02-28
 */
public interface SBannerService extends IService<SBanner> {

	/**
	 * banner新增/修改
	 * @param bannerRequestVO
	 * @return
	 */
	public RestReturnResult<Object> saveOrUpdateBanner(BannerRequestVO bannerRequestVO);

	/**
	 * banner删除
	 * @param id
	 * @return
	 */
	public RestReturnResult<Object> updateBannerForDel(String id);

	/**
	 * banner 启用/停用
	 * @param bannerRequestVO
	 * @return
	 */
	public RestReturnResult<Object> updateBannerStatus(BannerRequestVO bannerRequestVO);

	/**
	 * banner列表获取
	 * @param pageRequestVO
	 * @return
	 */
	public RestReturnResult<Object> getBannerList(PageRequestVO pageRequestVO);
	
	

}
